package com.guinea.system.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import com.guinea.core.orm.BaseEntity;

public class User implements BaseEntity {

	private Long id;
    
    private Contact contact;
    
    private Set userRoleRels = new HashSet(0);
    
    private String loginName;
    
    private String loginPassword;
    
    private String otherName;
    
	private String status;

	private Long author;

	private Date created;

	private Long modificator;

	private Date updated;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public Long getAuthor() {
		return author;
	}

	public void setAuthor(Long author) {
		this.author = author;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Long getModificator() {
		return modificator;
	}

	public void setModificator(Long modificator) {
		this.modificator = modificator;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

	public String getOtherName() {
		return otherName;
	}

	public void setOtherName(String otherName) {
		this.otherName = otherName;
	}

	public Contact getContact() {
		return contact;
	}

	public void setContact(Contact contact) {
		this.contact = contact;
	}

	public Set getUserRoleRels() {
		return userRoleRels;
	}

	public void setUserRoleRels(Set userRoleRels) {
		this.userRoleRels = userRoleRels;
	}

}
